package com.yuerlive.rainbow.api;

import com.yuerlive.rainbow.utils.RetrofitUtil;

import retrofit2.Retrofit;

/**
 * Created by xiaoyi on 2017/5/23.
 */

public class LoginApi {
    public LoginService loginService;

    private LoginApi() {
        loginService = RetrofitUtil.getRetrofit().create(LoginService.class);
    }


    public static LoginApi getInstance() {
        return LoginHolder.sInstance;
    }

    private static class LoginHolder {
        public static final LoginApi sInstance = new LoginApi();
    }
}
